fix(dm): null-safe columnType comparison in DMMetaData - #2156
Conversation
|
Please add a |
openai0229
left a comment
There was a problem hiding this comment.
The null-safe comparison still lacks DMMetaData regression coverage, and this branch overlaps open PR 2198. The current head does not address the detailed review comment already posted, so this remains blocked pending an updated commit and re-review.
columns() called columnType.toUpperCase() without a null guard; if TYPE_NAME was null, NPE. Use StringUtils.equalsIgnoreCase (null-safe), mirroring the OscarMetaData sibling. Fixes OtterMind#2150 Co-Authored-By: Claude <noreply@anthropic.com>
817f09e to
26c887f
Compare
|
Rebased onto latest main. Added 2 regression tests in DMMetaDataTest:
Tests run: 2, Failures: 0. |
Related issue
Closes #2150
Summary
DMMetaData.columns called columnType.toUpperCase() without a null guard; if TYPE_NAME was null, NPE. Changed to StringUtils.equalsIgnoreCase (null-safe), mirroring OscarMetaData.
Verification
Contributor declaration
AI assistance: The fix, verification, and PR description were produced with Claude Code assistance.